Page({
  onGetUserInfo: function (e) {
    if (e.detail.userInfo) {
      wx.redirectTo({
        url: '/pages/survey/page1/page1'
      })
    } else {
      wx.showToast({
        title: '授权失败',
        icon: 'none'
      });
    }
  }
});